﻿
using Admin.NET.Application.Entity;

namespace Admin.NET.Application;

/// <summary>
/// 触发历史输出参数
/// </summary>
public class DeviceTriggerHistoryOutput
{
    /// <summary>
    /// 主键Id
    /// </summary>
    public long Id { get; set; }
    
    /// <summary>
    /// 设备名称
    /// </summary>
    public long DeviceId { get; set; } 
    
    /// <summary>
    /// 设备名称 描述
    /// </summary>
    public string DeviceIdDeviceName { get; set; } 
    
    /// <summary>
    /// 触发器ID
    /// </summary>
    public long TriggerId { get; set; } 
    
    /// <summary>
    /// 触发器ID 描述
    /// </summary>
    public string TriggerIdTriggerName { get; set; } 
    
    /// <summary>
    /// 从机ID
    /// </summary>
    public long SlaveId { get; set; } 
    
    /// <summary>
    /// 从机ID 描述
    /// </summary>
    public string SlaveIdSlaveName { get; set; } 
    
    /// <summary>
    /// 点位ID
    /// </summary>
    public long PointId { get; set; } 
    
    /// <summary>
    /// 点位ID 描述
    /// </summary>
    public string PointIdPointName { get; set; } 
    
    /// <summary>
    /// 数据值
    /// </summary>
    public string DataValue { get; set; }
    
    /// <summary>
    /// 触发状态
    /// </summary>
    public TriggerStatus TriggerStatus { get; set; }
    
    /// <summary>
    /// 触发是否处理
    /// </summary>
    public TriggerIsProcess TriggerIsProcess { get; set; }
    
    /// <summary>
    /// 处理说明
    /// </summary>
    public string Mark { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }
    
    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }
    
    /// <summary>
    /// 创建者Id
    /// </summary>
    public long? CreateUserId { get; set; }
    
    /// <summary>
    /// 创建者姓名
    /// </summary>
    public string? CreateUserName { get; set; }
    
    /// <summary>
    /// 修改者Id
    /// </summary>
    public long? UpdateUserId { get; set; }
    
    /// <summary>
    /// 修改者姓名
    /// </summary>
    public string? UpdateUserName { get; set; }
    
    /// <summary>
    /// 软删除
    /// </summary>
    public bool IsDelete { get; set; }
    
    }
 

